package me.example.web.mapper;

import com.base.mapper.BaseMapper;
import me.example.web.model.Staff;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created by junli on 2017/8/22.
 */
@Mapper
public interface StaffMapper extends BaseMapper<Staff> {

    @Select("select id,name,age from staff")
    List<Staff> flipStaffList(@Param("name") String name);
}
